package com.qfedu.edu.controller;

import com.qfedu.edu.service.IUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author xiaobobo
 * @title: UserController
 * @projectName CD-Java-FY-2401-Springboot-Parent
 * @description: 控制器
 * @date 2024/9/9  15:41
 */
@RestController
public class UserController {

    @Resource
    private IUserService userService;

    /**
     * 查询所有的用户信息
     *
     * @return
     */
    @GetMapping("/findUserAll")
    public Object findUserAll() {
        return userService.findUserAll();
    }

}
